package vip.liux.backend.application.service.coupon;

import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.liux.application.dots.PagedResultRequestDto;
import vip.liux.contracts.shared.enums.coupon.UsedTag;
import vip.liux.contracts.shared.value.DataRange;

import java.time.LocalDateTime;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class QueryUserCouponDto extends PagedResultRequestDto implements DataRange<LocalDateTime> {

    private String couponNo;

    private String couponName;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 使用状态
     */
    private UsedTag usedTag;

    private List<LocalDateTime> between;
}
